// FIX: Use property access syntax
// WITH_STDLIB
import java.io.File

fun foo(o: Any) {
    if (o is File) {
        o.getAbsolutePath<caret>()
    }
}